package com.choosefine.it.team.model;

import com.choosefine.it.base.Base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "班组项目收藏")
public class TeamProjectCollection extends Base {
	private static final long serialVersionUID = 6347413705431023145L;
	@ApiModelProperty(value = "班组用户ID", required = true)
	private Integer id;
	@ApiModelProperty(value = "项目用户ID", required = true)
	private String uuid;
	@ApiModelProperty(value = "班组ID", required = true)
	private String teamid;
	@ApiModelProperty(value = "项目发布ID（项目经理发布的招班组信息）", required = true)
	private Integer publishprojectid;
	@ApiModelProperty(value = "收藏状态（0代表收藏1代表取消收藏）", required = true)
	private Integer statusflag;
	@ApiModelProperty(value = "收藏时间", required = true)
	private Integer collecttime;
	/*yuxin update 2.24*/
	@ApiModelProperty(value = "0代表有效1代表无效")
	private Integer isValid;

	/**
	 * 查询班组发布的项目
	 * 
	 * @return
	 */
	@ApiModelProperty(value = "班组类别", required = true)
	private String teamtype;
	@ApiModelProperty(value = "联系人", required = true)
	private Integer contract;
	@ApiModelProperty(value = "项目名称", required = true)
	private String projectname;
	@ApiModelProperty(value = "项目承包人", required = true)
	private String projectcontactname;
	@ApiModelProperty(value = "班组地区", required = true)
	private String region;
	@ApiModelProperty(value = "创建时间", required = true)
	private Long ctime;

	@Override
	public Integer getIsValid() {
		return isValid;
	}

	@Override
	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}

	public Integer getContract() {
		return contract;
	}

	public void setContract(Integer contract) {
		this.contract = contract;
	}

	public String getProjectname() {
		return projectname;
	}

	public void setProjectname(String projectname) {
		this.projectname = projectname;
	}

	public String getProjectcontactname() {
		return projectcontactname;
	}

	public void setProjectcontactname(String projectcontactname) {
		this.projectcontactname = projectcontactname;
	}

	public String getTeamtype() {
		return teamtype;
	}

	public void setTeamtype(String teamtype) {
		this.teamtype = teamtype;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getTeamid() {
		return teamid;
	}

	public void setTeamid(String teamid) {
		this.teamid = teamid;
	}

	public Long getCtime() {
		return ctime;
	}

	public void setCtime(Long ctime) {
		this.ctime = ctime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}


	public Integer getPublishprojectid() {
		return publishprojectid;
	}

	public void setPublishprojectid(Integer publishprojectid) {
		this.publishprojectid = publishprojectid;
	}

	public Integer getStatusflag() {
		return statusflag;
	}

	public void setStatusflag(Integer statusflag) {
		this.statusflag = statusflag;
	}

	public Integer getCollecttime() {
		return collecttime;
	}

	public void setCollecttime(Integer collecttime) {
		this.collecttime = collecttime;
	}
}